package com.yunhe.shop.pojo;

import java.util.List;

/**
 * @Author ck
 * @Time 2022年07月08日11:09
 */
public class TbOrder {

    private int id ;
    private long  userId ;
    private String orderNumber ;

    private List<TbOrderDetail> tbOrderDetails ;

    public List<TbOrderDetail> getTbOrderDetails() {
        return tbOrderDetails;
    }

    public void setTbOrderDetails(List<TbOrderDetail> tbOrderDetails) {
        this.tbOrderDetails = tbOrderDetails;
    }

    @Override
    public String toString() {
        return "TbOrder{" +
                "id=" + id +
                ", userId=" + userId +
                ", orderNumber='" + orderNumber + '\'' +
                ", tbOrderDetails=" + tbOrderDetails +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }
}
